#ifndef PROTOCOL_WL_POINTER_H
#define PROTOCOL_WL_POINTER_H
//******************************************************************************
//*this code is protected by the GNU affero GPLv3
//*author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
//*                        <digital.ragnarok AT gmail dot com>
//******************************************************************************
#define WL_POINTER_STR "wl_pointer"
#define WL_POINTER_STR_DWS 3

#define WL_POINTER_BUTTON_STATE_RELEASED 0
#define WL_POINTER_BUTTON_STATE_PRESSED  1

#define WL_POINTER_AXIS_VERTICAL_SCROLL   0
#define WL_POINTER_AXIS_HORIZONTAL_SCROLL 1

//------------------------------------------------------------------------------
//requests
#define WL_POINTER_SET_CURSOR 0
//XXX:not yet fixed in the protocol
#define WL_POINTER_CLOSE      1
//------------------------------------------------------------------------------
//events
#define WL_POINTER_ENTER  0
#define WL_POINTER_LEAVE  1
#define WL_POINTER_MOTION 2
#define WL_POINTER_BUTTON 3
#define WL_POINTER_AXIS   4
//------------------------------------------------------------------------------
#endif
